﻿Public Class DTOHocSinh

    Private _MaHS As Long
    Public Property MaHS() As Long
        Get
            Return _MaHS
        End Get
        Set(ByVal value As Long)
            _MaHS = value
        End Set
    End Property

    Private _TenHS As String
    Public Property TenHS() As String
        Get
            Return _TenHS
        End Get
        Set(ByVal value As String)
            _TenHS = value
        End Set
    End Property

    Private _NgaySinh As DateTime
    Public Property NgaySinh() As DateTime
        Get
            Return _NgaySinh
        End Get
        Set(ByVal value As DateTime)
            _NgaySinh = value
        End Set
    End Property

    Private _GioiTinh As String
    Public Property GioiTinh() As String
        Get
            Return _GioiTinh
        End Get
        Set(ByVal value As String)
            _GioiTinh = value
        End Set
    End Property

    Private _DiaChi As String
    Public Property DiaChi() As String
        Get
            Return _DiaChi
        End Get
        Set(ByVal value As String)
            _DiaChi = value
        End Set
    End Property

    Private _Email As String
    Public Property Email() As String
        Get
            Return _Email
        End Get
        Set(ByVal value As String)
            _Email = value
        End Set
    End Property
    Private _TenLop As String
    Public Property TenLop() As String
        Get
            Return _TenLop
        End Get
        Set(ByVal value As String)
            _TenLop = value
        End Set
    End Property

    Public Sub New()
        Me.DiaChi = ""
        Me.Email = ""
        Me.GioiTinh = "Nam"
        Me.NgaySinh = "18/11/1989"
        Me.TenHS = ""
        Me.MaHS = 0
    End Sub

End Class
